<?php
/**
 * Created by PhpStorm.
 * Admininfo: Administrator
 * Date: 2018/7/31 0031
 * Time: 上午 10:54
 */
namespace app\common\validate;
use think\Validate;
class  Admingroup  extends Validate{
    protected $rule=[
        'title'=>['require','unique:admingroup'],
    ];
    //验证不符返回msg
    protected $message  =   [
        'title.unique'   => '名称已存在！',
        'title.require'   => '名称必须填写！',
    ];

}